package com.ruoyi.dgw.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物资对象 materials
 * 
 * @author ruoyi
 * @date 2021-11-11
 */
public class Materials extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 种类1：母牛，2种牛 */
    @Excel(name = "种类1：母牛，2种牛")
    private String type;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 数量 */
    @Excel(name = "数量")
    private String sum;

    /** 总金额 */
    @Excel(name = "总金额")
    private String amount;

    /** 申请人 */
    @Excel(name = "申请人")
    private String applicat;

    /** 申请人电话 */
    @Excel(name = "申请人电话")
    private String applicatPhone;

    /** 备注 */
    @Excel(name = "备注")
    private String reamke;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setSum(String sum) 
    {
        this.sum = sum;
    }

    public String getSum() 
    {
        return sum;
    }
    public void setAmount(String amount) 
    {
        this.amount = amount;
    }

    public String getAmount() 
    {
        return amount;
    }
    public void setApplicat(String applicat) 
    {
        this.applicat = applicat;
    }

    public String getApplicat() 
    {
        return applicat;
    }
    public void setApplicatPhone(String applicatPhone) 
    {
        this.applicatPhone = applicatPhone;
    }

    public String getApplicatPhone() 
    {
        return applicatPhone;
    }
    public void setReamke(String reamke) 
    {
        this.reamke = reamke;
    }

    public String getReamke() 
    {
        return reamke;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("status", getStatus())
            .append("type", getType())
            .append("unit", getUnit())
            .append("sum", getSum())
            .append("createTime", getCreateTime())
            .append("amount", getAmount())
            .append("applicat", getApplicat())
            .append("createBy", getCreateBy())
            .append("applicatPhone", getApplicatPhone())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("reamke", getReamke())
            .toString();
    }
}
